return PM_RET_SUCCESS;
}
-/**
- * pm_api_clock_setrate - Set the clock rate for given id
- * @clock_id Id of the clock
- * @rate Rate value in hz
- *
- * This function is used by master to set rate for any clock.
- *
- * Return: Returns status, either success or error+reason.
- */
-enum pm_ret_status pm_api_clock_setrate(unsigned int clock_id,
- uint64_t rate)
-{
- return PM_RET_ERROR_NOTSUPPORTED;
-}
-
-/**
- * pm_api_clock_getrate - Get the clock rate for given id
- * @clock_id Id of the clock
- * @rate rate value in hz
- *
- * This function is used by master to get rate
- * for any clock.
- *
- * Return: Returns status, either success or error+reason.
- */
-enum pm_ret_status pm_api_clock_getrate(unsigned int clock_id,
- uint64_t *rate)
-{
- return PM_RET_ERROR_NOTSUPPORTED;
-}
-
/**
* pm_api_clock_setparent - Set the clock parent for given id
* @clock_id Id of the clock
enum pm_ret_status pm_clock_pll_disable(struct pm_pll *pll);
enum pm_ret_status pm_clock_pll_get_state(struct pm_pll *pll,
unsigned int *state);
-enum pm_ret_status pm_api_clock_setrate(unsigned int clock_id,
- uint64_t rate);
-enum pm_ret_status pm_api_clock_getrate(unsigned int clock_id,
- uint64_t *rate);
enum pm_ret_status pm_api_clock_setparent(unsigned int clock_id,
unsigned int parent_idx);
enum pm_ret_status pm_api_clock_getparent(unsigned int clock_id,
enum pm_ret_status pm_clock_setrate(unsigned int clock_id,
uint64_t rate)
{
- return pm_api_clock_setrate(clock_id, rate);
+ return PM_RET_ERROR_NOTSUPPORTED;
}
/**
enum pm_ret_status pm_clock_getrate(unsigned int clock_id,
uint64_t *rate)
{
- return pm_api_clock_getrate(clock_id, rate);
+ return PM_RET_ERROR_NOTSUPPORTED;
}
/**